package glassline.mock;


import transducer.TChannel;
import transducer.Transducer;
import glassline.Glass;
import glassline.interfaces.*;

public class MockWorkstation implements Workstation {

	Glass.WorkStation type;
	public EventLog log = new EventLog();
	@Override
	public void msgHereIsGlass(Glass g) {
		log.add(new LoggedEvent(
				"Received message msgHereIsGlass with Glass" + g.toString()));
	}

	@Override
	public void msgIAmUp() {
		log.add(new LoggedEvent("Recieved msgIAmUp from Popup"));
		
	}
	
	public MockWorkstation(Glass.WorkStation ty)
	{
		type = ty;
	}
	public Glass.WorkStation getType()
	{
		return type;
	}

}
